Determining clockwise vs counter clockwise rotations